<div style="border: 2px solid #ff0; padding: 10px;">
	<strong>Add Student</strong>
	<form method="post" action="<?php if( isset( $action ) ) echo $action ?>" >
		<label>Student number:</label>
		<input type="text" name="search" />
		<input type="submit" value="search" name="" />
	</form>
	<div style="margin-top: 10px;" >
<?php if( isset( $result ) ) : ?>
		<?php echo ucwords( strtolower( $result['lastname'] ) ) ?>, <?php echo ucwords( strtolower( $result['firstname'] ) ) ?>(<a href="/org/view/<?php echo $name ?>/memberlist/add/<?php echo $result['stud_no'] ?>">Add to course</a>)
<?php endif; ?>
<?php if( isset( $nohits ) ) : ?>
		Could not find <?php echo $nohits ?>; it is not listed in the database
<?php endif; ?>
<?php if( isset( $already ) ) : ?>
		Already a student
<?php endif; ?>	
	</div>
</div>
